package com.cleaningcloud.erp.domain.excelExport;

import com.cleaningcloud.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProcureExcelExport {

    @Excel(name = "采购单号")
    private String procureNo;
    @Excel(name = "供应商名称" )
    private String supplierName;
    @Excel(name = "采购状态",  readConverterExp = "0=草稿,1=待审批,2=已通过,3=被驳回,4=已完成")
    private Integer procureStatus;
    @Excel(name = "物流状态",  readConverterExp = "0=未发货,1=已发货,2=已收货")
    private String logisticsStauts;
    @Excel(name = "采购日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date procureTime;
    @Excel(name = "采购人")
    private String procurePersonName;
    @Excel(name = "联系电话")
    private String procurePersonPhone;
    @Excel(name = "采购批次")
    private int procureBatch;
    @Excel(name = "物流费用")
    private BigDecimal logisticsCost;
    @Excel(name = "应付金额")
    private BigDecimal payAmount;
    @Excel(name = "审批人")
    private String approveName;
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date approveTime;
    @Excel(name = "创建人")
    private String createName;
    @Excel(name = "商品编号")
    private String commodityNo;
    @Excel(name = "商品名称")
    private String commodityName1;
    @Excel(name = "商品类别")
    private String commodityType;
    @Excel(name = "单位")
    private String unitName1;
    @Excel(name = "规格")
    private String commoditySpec;
    @Excel(name = "采购单价")
    private BigDecimal procurePrice;
    @Excel(name = "采购数量")
    private int procureNumber;
}
